package com.movitech.mobile.cz.base.syndata;

import java.util.List;

public interface SynDataService {

    /**
     * 同步供应商数据到金源主数据系统
     * @param synSupplierToMdmDataVo
     * @return
     */
    public boolean synSynSupplierData2MDM(SynSupplierToMdmDataVo synSupplierToMdmDataVo,boolean isNew);
    /**
     * 同步供应商数据到旧系统
     * @param synSupplierDataVo
     * @return
     */
//    public boolean synSynSupplierDataToOldSystem(SynSupplierDataVo synSupplierDataVo,boolean isNew);

    /***
     * 检测旧系统中的该供应商是否已经存在
     * @param licenseNo
     * @return
     */
    public boolean checkSupplierLicenseNo(String licenseNo);

    /***
     * 下发投标保证金
     * @param synSourcingDepositDataVoList
     * @return
     */
    public boolean invokeSourcingDeposit(List<SynSourcingDepositDataVo> synSourcingDepositDataVoList);

    /***
     * 下发招标项状态控制
     * @param synSourcingDataVo
     * @return
     */
    public boolean changeSourcingStatus(SynSourcingDataVo synSourcingDataVo);

    /***
     * 获取招标项调度状态
     * @param scCode
     * @return
     */
    public String querySourcingStatus(String scCode) ;

    boolean deletemergeContract(String contractId, String contractDetailId);
}
